package com.fin.quant.domain.mapstruct;

import com.fin.quant.domain.entity.AssetEntity;
import com.fin.quant.instra.mysql.model.Asset;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AssetMapperStruct {
    AssetMapperStruct INSTANCE = Mappers.getMapper(AssetMapperStruct.class);

    AssetEntity model2Entity(Asset asset);

    Asset entity2Model(AssetEntity assetEntity);
}
